<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.box{
				perspective: 1200px;
			}
									
			.box>div{
				transform-style: preserve-3d;
				transition: 1s;
				width: 300px;
				height: 300px;
				background: pink;
			}
			
			.box:hover>div{
				transform: rotateY(360deg);
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div></div>
		</div>
	</body>
</html>
